package heven.holt.wan.android.api

import heven.holt.wan.android.model.BaseModel
import heven.holt.wan.android.model.NavigationModel
import heven.holt.wan.android.model.ProjectModel
import retrofit2.http.GET

/**
 * WanAndroid导航API
 */
interface ApiWanNavigationServer {
    /**
     *获取导航数据
     */
    @GET("navi/json")
    suspend fun navigation(): BaseModel<List<NavigationModel>>

    /**
     *获取项目分类
     */
    @GET("tree/json")
    suspend fun projects(): BaseModel<List<ProjectModel>>
}